package com.viphuli.http.handler;

import com.viphuli.common.Constants;
import com.viphuli.fragment.PurchaseOrderFragment;
import com.viphuli.http.bean.page.CommonPage;

public class PurchaseOrderCancelResponseHandler extends MyBaseHttpResponseHandler<PurchaseOrderFragment, CommonPage> {

	@Override
	public void deal() {
		//更新数据
		caller.getCurOrder().setStatus(Constants.ORDER_STATUS_ALREADY_CANCEL);
		//更新UI
		caller.getBaseAdapter().notifyDataSetChanged();
	}

}
